Identifying a route configured to travel through multiple points of interest

ABSTRACT

A computer-implemented method for identifying a route that is configured to travel through multiple points of interest includes receiving a query that includes an origin location, a destination location, and at least a first point of interest and a second point of interest. The method also includes identifying a perimeter that surrounds the received origin and destination locations in response to the query. The perimeter is then used to identify a set of locations for each of the first and second points of interest.

CROSS-REFERENCE TO RELATED APPLICATIONS

The present application is a continuation of U.S. application Ser. No.13/342,436, filed Jan. 3, 2012, which is a continuation of U.S.application Ser. No. 12/111,657, filed Apr. 29, 2008, which is nowissued as U.S. Pat. No. 8,095,303, which claims the benefit of andpriority to U.S. provisional application number 60/917,594, filed May11, 2007 and which also is a continuation-in-part of U.S. applicationSer. No. 11/617,874, filed Dec. 29, 2006, which is now issued as U.S.Pat. No. 7,920,965. Each of the aforementioned patent(s) andapplication(s) are hereby incorporated by reference in their entirety.

TECHNICAL FIELD

This document relates to identifying a route configured to travelthrough multiple points of interest.

BACKGROUND

A traveler may submit to a host a mapping query to request mappinginformation, such as a suggested route between an origin location and adestination location or driving directions to a destination locationfrom an origin location.

SUMMARY

Implementations of the described techniques may include hardware, amethod or process, or computer software on a computer-accessible medium.

The details of one or more implementations are set forth in theaccompanying drawings and the description below. Other features will beapparent from the description and drawings, and from the claims.

DESCRIPTION OF DRAWINGS

FIG. 1 illustrates a flow chart of an exemplary process a host may useto identify an advanced route between an origin location and adestination location, such that the advanced route includes a locationfor each of user-identified multiple points of interest.

FIG. 2A illustrates an exemplary user interface provided to a user of aclient device wishing to visit multiple points of interest along a routefrom an origin location to a destination location.

FIG. 2B illustrates an exemplary user interface for entering informationabout a particular stop.

FIG. 3 illustrates a map that is used to identify a set of locationscorresponding to each of user-identified multiple points of interest.

FIG. 4 illustrates a flow chart of an exemplary process a host may useto identify the elliptical perimeter around the preliminary routeillustrated by FIG. 3. FIG. SA illustrates an exemplary table that ahost may use to identify an advanced route having a minimized travelcommitment.

FIG. 5B illustrates an exemplary table in which the host rearranges thelocations included in the advanced route identified in FIG. 5A to reducethe travel commitment associated with the advanced route.

FIGS. 6A-6B illustrate an exemplary process and an exemplary table ahost may use to identify the most efficient route associated withselected locations for multiple points of interest.

FIGS. 7A-7B illustrate an exemplary process and an exemplary table ahost may use to identify an advanced route having the “least” travelcommitment.

FIG. 8A illustrates an exemplary process a host may use to enable a userto identify an advanced route based on user-selected locations for themultiple points of interest.

FIG. 8B illustrates an exemplary process a host may use for applyingmore weight to user-selected locations for the multiple points ofinterest.

FIGS. 9A-9B illustrate exemplary user interfaces each displayingmultiple routes responsive to a search query, and thus enabling the userto select from among the displayed multiple routes.

FIG. 10 illustrates another exemplary process that a host uses toidentify an advanced route between an origin location and a destinationlocation.

FIG. 11 illustrates an elliptical perimeter that a host uses to searchfor potential locations for each of user-defined multiple points ofinterest.

FIG. 12 illustrates a process the host uses to identify the ellipticalperimeter illustrated in FIG. 11.

FIG. 13 illustrates an exemplary process a host uses to select a singlelocation for each of user-identified multiple points of interest.

FIG. 14 illustrates a communication system, enabling a host to solicitfrom a client device a search query and to generate a response to thesearch query.

FIGS. 15A-15B illustrate an exemplary process that a host uses tocompare different location from selected categories of points ofinterest based upon the travel commitments between a selected origin anddestination based on their proximity to other points of interest asopposed to the preliminary route.

FIGS. 16A-16B illustrate an exemplary process that a host uses tocompare the routes used to visit multiple intervening locations fromselected categories of points of interest based upon the travelcommitments between a selected origin and destination.

FIGS. 17A-17B-17C illustrate an exemplary map between an origin anddestination with intervening points of interest and various routes thehost may use to determine the optimal route.

DETAILED DESCRIPTION

A user of a client device may wish to travel from an origin location toa destination location, and the user may wish to visit multiple pointsof interest along the way. For example, the user may wish to visit aconvenient automated teller machine (“ATM”), a grocery store, a gasstation, and a dry cleaner along a commuting route or a planned vacationroute. As such, the user may benefit from an advanced route thatincludes and thus encourages travel through a convenient location foreach of the user-identified multiple points of interest. Accordingly,techniques are provided for generating such an advanced route thatincludes a location for each of the user-identified multiple points ofinterest. In one implementation, the techniques described in thisapplication enable a host to generate the advanced route withoutexcessive computational delay.

An exemplary process 100 of FIG. 1 may be used by a host to identify anadvanced route between an origin location and a destination location,such that the advanced route includes and thus encourages travel througha location for each of user-identified multiple points of interest.Below, process 100 is described with brief reference to otherillustrative figures, each of which are later described separately.Process 100 begins by providing a client device with access to the host(110). Providing the client device access to the host may includeproviding the client device with a user interface, such as that of FIGS.2A and 2B, for submitting a search query to the host.

The host receives the search query, including an origin location, adestination location, and an indication of multiple points of interest(120). The multiple points of interest may include intermediaryservices, such as banking services, dry cleaning services, flower shopservices, grocery store services, and/or gas stations services. The hostmay receive the search query via, for example, a request and/or messagefrom the client device. In response to the search query, the hostidentifies a preliminary route between the origin location and thedestination location (130). FIG. 3 illustrates a preliminary route 310the host may identify between the origin location and the destinationlocation. The host identifies a perimeter around the preliminary route(140). The host may use an exemplary process 400 described with respectto FIG. 4 to identify the perimeter around the preliminary route. Asshown in FIG. 3, the perimeter 320 includes an elliptical shape and isformed around the preliminary route 310. The host identifies, within theelliptical perimeter, a set of locations corresponding to each of thereceived multiple points of interest (150). The set of locations mayinclude a set of geographic locations or addresses. Alternatively oradditionally, the set of locations may include a set of zip codes,street addresses and/or facility names.

In one example and as shown in FIG. 3, where the multiple points ofinterest include a gas station, a grocery store, and a restaurant, thehost identifies a set of locations within the elliptical route 320 thatcorrespond to the gas station, a set of locations corresponding to thegrocery store, and a set of locations corresponding to the restaurant.The host selects, from the set of locations identified, a locationcorresponding to each of the user-identified multiple points of interestfor which the set of locations was identified (160). In keeping with theexample of FIG. 3, the host selects, from the set of locationsidentified, a location for the gas station, a location for the grocerystore, and a location for the restaurant, for example, using tables andprocesses described with respect to FIGS. 5A-5B and 6A-6B. Based on thisselection, the host identifies an advanced route between the originlocation and the destination location, where the advanced route includesand thus encourages travel through the selected location for each of theuser-identified multiple points of interest (170). Again keeping withthe example of FIG. 3, process 100 thus resolves an advanced route thatincludes a location for the gas station, the grocery store, and therestaurant.

More specifically, FIG. 2A illustrates an exemplary user interface(“UI”) 200A provided to a user of a client device, wishing to visitmultiple points of interest along a route from an origin location to adestination location. The UI 200A may be displayed, for example, on anin-vehicle navigation system, a mobile device, such as a cellular phoneor PDA, or other devices, such as a personal computer.

The UI 200A includes an origin selection portion 210, a destinationselection portion 220, a points of interest selection portion 230, anidentify stops portion 240, and a directions/maps selection portion 250.The origin selection portion 210 enables the host to solicit orotherwise receive an origin or a starting location. The origin selectionportion 210 includes fields enabling specification of an address or anintersection, a city, a state, and a zip code. The destination selectionportion 220 enables the host to solicit or otherwise receive adestination location. The destination selection portion 220 includesfields enabling specification of a destination name, an address or anintersection, a city, a state, and a zip code.

The UI 200A also includes the points of interest selection portion 230.The points of interest selection portion 230 enables the host to solicitor otherwise receive multiple points of interest that the user wishes tovisit along a route between the origin location and the destinationlocation. The points of interest selection portion 230 includes a userselectable option for identifying each of the multiple points ofinterest. The multiple points of interest may include banking services,restaurant services, flower shop services, and/or “other” services orplaces, such as gas stations, shopping centers, and/or grocery stores.In one implementation, shown in FIG. 2A, the user may communicate to thehost a desired point of interest by selecting a box corresponding tothat point of interest.

A representation of a point of interest in UI 200A may be interactive.For example, the user may interact with the point of interest byselecting the point of interest in the UI 200A (e.g., double clicking onthe point of interest using, for example, a mouse). Selecting the pointof interest may launch another UI, enabling the user to provideadditional information regarding the point of interest to the host. Forinstance, selecting “banking services” may launch another UI, enablingthe user to identify the type of banking services in which the user isinterested (e.g., a type of branch and/or ATM services).

The UI 200A also includes the identify stops portion 240. The identifystops portion 240 enables the host to solicit or otherwise identifyparticular stops along the route. When the user selects the identifystops portion 240, a UI for entering information about a particular stop(e.g., UI 240 of FIG. 2B) is displayed. For example, the identify stopsportion 240 may enable the user to identify an address of the particularstops. Alternatively or additionally, the identify stops portion 240 mayenable the user to specify a name of a particular stop and/orgeographical area in which particular stop is located. For example, theidentify stops portion 240 may enable the user to specify a favoritebanking service in a particular area (e.g.

Bank of America in the NW quadrant of Washington DC). Similarly, theidentify stops portion 240 may enable the user to specify a name of aparticular restaurant in which the user is interested.

FIG. 2B illustrates an exemplary UI 240 for entering information about aparticular stop. The UI 240 includes a first stop selection portion 240Aand “other” stops selection portion 240B. The first stop selectionportion 240A includes fields enabling specification of a destinationname, an address or an intersection, a city, a state, a zip code, and acategory name. The category name field indicates the category or type ofstop, such as gas, cash, or restaurant. The “other” stops selectionportion 240B enables the user to provide additional particular stops tothe host.

Referring again to FIG. 2A, the UI 200A also includes thedirections/maps selection portion 250. The directions/maps selectionportion 250 enables the user to receive directions/maps between theorigin location and the destination location through the locationassociated with the user-identified multiple points of interest.

FIG. 3 illustrates a map 300 that is used to identify a set of locationscorresponding to each of the user-identified multiple points ofinterest. The map 300 includes an origin location, a destinationlocation, and a preliminary route 310 between the origin location andthe destination location. The map 300 also includes a perimeter 320 thathas an elliptical shape and that is formed around the preliminary route310. The elliptical perimeter 320 is used to identify a set of locationscorresponding to each of the received multiple points of interest. Usingthe elliptical perimeter 320 to identify a set of locationscorresponding to each of the multiple points of interest may increasethe efficiency in identifying an advanced route traveling through theuser-identified multiple points of interest.

FIG. 4 illustrates a flow chart of an exemplary process 400 a host mayuse to identify or otherwise calculate the elliptical perimeter 320around the preliminary route 310 illustrated by FIG. 3. The process 400illustrates in more detail the blocks 130, 140, and 150 associated withthe process 100 described above with respect to FIG. 1. Initially, thehost identifies the preliminary route 310 between the origin locationand the destination location (410). The host may identify thepreliminary route 310 by referencing an internal server, which in turnreferences roads, coupling the origin location to the destinationlocation. Alternatively, the host may identify the preliminary route 310by referencing an external server, such as a web map server (e.g.,Mapquest™) that employs one or more geocoding servers, mapping servers,and/or routing servers to generate the preliminary route 310. Uponidentification of the preliminary route 310, the host may identifylocations (e.g., latitude/longitude coordinates) that are at a certaindistance “d” from points along the preliminary route 310 (or maptiles/sectors corresponding thereto) (420). In one implementation, thehost selects the distance “d.” In another implementation, the userselects the distance “d.” Once the locations at the distance “d” alongthe preliminary route 310 are identified, the host connects theselocations (as presented by broken lines in FIG. 3) to form a firstperimeter 320 around the preliminary route 310, which may include anelliptical shape as shown in FIG. 3 (430).

The host uses the elliptical perimeter 320 to identify a subset fromamong the universe of locations otherwise corresponding to each of theuser-identified multiple points of interest. The host first determineswhether the elliptical perimeter 320 includes at least one location foreach of the user-identified multiple points of interest (440). If so(e.g., all of the user-identified multiple points of interest arerepresented within the elliptical perimeter 320, the host identifies,within the elliptical perimeter 320), a set of locations for each of theuser-identified multiple points of interest (460). For example andreferring again to FIG. 3, when the search query includes identifying agas station, a grocery store, and a restaurant along the route, the hostmay identify within the elliptical perimeter 320 a set of locations forthe gas station, a set of locations for the grocery store, and a set oflocations for the restaurant. As shown in FIG. 3, the set of locationsfor the gas station includes three different locations for a “Brand” gasstation; the set of locations for the restaurant includes threedifferent locations for McDonald's™; and the set of locations for thegrocery store includes three different locations for Safeway™.

If the host fails to identify, within the elliptical perimeter 320, alocation associated with at least one of the multiple points ofinterest, the host calculates a second perimeter (450). The secondperimeter may include an elliptical shape and may be calculated in thesame manner as the elliptical perimeter 320, however, the secondperimeter may include a larger distance “d” from the points along thepreliminary route 310. As such, the second perimeter may be larger thanthe elliptical perimeter 320 and may surround the elliptical perimeter320. Upon calculating the second perimeter, the host again determineswhether all of the user-identified multiple points of interest arerepresented within the second perimeter (440). If so, the hostidentifies, within the second perimeter, a set of locations for at leastone of the multiple points of interest (460).

The host selects, from each set of locations identified, a locationcorresponding to each of the multiple points of interest for which theset of locations was identified. The host uses the selected locations toidentify an advanced route that includes and thus encourage travelthrough the selected location for the multiple points of interest. Inone example and as described below with respect to FIGS. 5A-5B, the hostidentifies multiple advanced routes by selecting, from each set oflocations, multiple locations corresponding to each of the multiplepoints of interest. The host calculates the travel commitment thatincludes travel time and/or travel distance for each of the multipleadvanced routes and selects the advance route for which the travelcommitment is minimized.

FIG. 5A illustrates an exemplary table 500A that a host may use toidentify an advanced route having a minimized travel commitment. Table500A includes type of interest column 510, closest choices column 520,next closest choices column 530, and next closest choices column 540.The type of interest column 510 identifies the type of interest, whichincludes categories for a gas station, a restaurant, and a grocerystore. The closest choices column 520, the next closest choices column530, and the next closest choices column 540 each represent differentadvanced routes that include a location corresponding to each of themultiple points of interest. The location includes an address and atravel distance of the type of interest from the preliminary route 310.

Table 500A also includes a travel time row 550 and a travel distance row560. The travel time row 550 identifies the travel time for the advancedroute in the closest choices column 520, the next closest choices column530, and the next closest choices column 540. The travel distance row560 identifies the travel distance for the advanced route in the closestchoices column 520, the next closest choices column 530, and the nextclosest choices column 540. The host may be configured to use the traveltime row 550 and/or the travel distance row 560 to identify an advancedroute having the minimized travel commitment. As shown in FIG. 5A, theadvanced route having the minimized travel commitment appears in theclosest choices column 520.

In one implementation, the closest choices column 520, the next closestchoices column 530, and the next closest choices column 540 mayrepresent a set of locations. For example, the closest choices column520 may represent a first set of locations. The next closest choicescolumn 530 may represent a second set of locations. And, the nextclosest choices column 530 may represent a third set of locations. Eachset of locations includes at least one location for each of the types ofinterest. The host may rearrange the order in which the locations withineach set of locations are visited to determine whether the travelcommitment may be further reduced. FIG. 5B illustrates an exemplarytable 500B, representing the host rearrangement of the locations withinthe first set, the second set, and the third set of locations. Forexample, as shown in FIG. 5B, the host rearranges the locations withinthe first set such that the McDonald's™ at 555 Tuckerman Lane, Potomac,Md. is visited first, the bp™ gas station at 1210 Seven Lock Rd.,Potomac, Md. is visited second, and the Safeway™ at 1213 Seven Lock Rd.,Potomac, Md. is visited third. The host may continue this process foreach set of location or a selected set of locations to identity the mostefficient route within each set of locations or the selected set oflocations in table 500A. In either case, as the host rearranges thelocations within the set of locations, the travel time and the traveldistance associated with the advanced route including the rearrangedlocations may change. For example, as shown in FIG. 5B, the travel timeand the travel distance associated with the advanced routes identifiedin table 500B is less than the travel time and the travel distanceassociated with the advanced routes identified in table 500A.

Below, FIGS. 6A-6B illustrate an exemplary process 600A and an exemplarytable 600B that a host uses to identify the most efficient route for aselected set of locations in table 500A, and FIGS. 7A-7B illustrate anexemplary process 700A and an exemplary table 700B that a host may useto identify the most efficient route within each set of locationsidentified in table 500A.

FIG. 6A illustrates an exemplary process 600A a host may use to identifythe most efficient route within a selected set of locations. The process600A illustrates in more detail the blocks 160 and 170 associated withthe process 100 described above with respect to FIG. 1. Initially, thehost selects a set of locations that includes at least one location foreach of the multiple points of interest (610). For example, the host mayselect the first set of locations (e.g., the closest choices column 520of FIG. 5A) resulting in the minimized travel commitment. The hostrearranges the order of the locations within the selected set oflocations to identify alternative routes traveling through thoselocations (620). The host calculates a travel time and/or a traveldistance for each of the identified alternative routes (630) andidentifies a route having a minimum travel time and/or travel distanceamong the identified alternative routes (640). To identify a routehaving the minimum travel time and/or travel distance, the host may usean exemplary table 600B, shown in FIG. 6B. In table 600B, the hostidentifies the alternative routes within the selected set of locations(e.g., the closes choices column 520 of FIG. 5A) and also identifies thetravel time and the travel distance corresponding to each of thealternative routes.

As shown in FIG. 6B, the host rearranges the order in which locationswithin the first set (e.g., the closest choices column 520 of FIG. 5A)are visited and identifies three alternative routes in addition to theroute shown in the closest choices column 520. The three alternativeroutes include a first route 660, a second route 670, and a third route680. Each of the alternative routes 660, 670, and 680 include adifferent order in which the location for the each of the multiplepoints of interest is visited. For example, in the first route 660, thelocation for the restaurant is visited first, the location for the gasstation is visited second, and the location for the grocery store isvisited third. Similarly, in the second route 670, the location for therestaurant is visited first, the location for the grocery store isvisited second, and the location for the gas station is visited third.

Table 600B also includes a travel time row 690A and a travel distancerow 690B. The travel time row 690A includes a travel time for each ofthe alternative routes. The travel distance row 690B includes a traveldistance for each of the alternative routes. The host compares thetravel time and/or the travel distance for each of the four alternativeroutes (e.g., a route identified in closest choices column 520 of FIG.5A and the three routes identified in table 600B) to identify the routewith minimum travel time and/or the travel distance. As shown, the routewith the minimum travel time and/or distance includes the first route660 with a travel time of 44 minutes and a travel distance of 24.8miles. Once the host identifies the route having the minimum travel timeand/or travel distance among the alternative routes (640), the hostpresents the route to the user as the most efficient route within theselected set of locations (650).

FIGS. 7A-7B illustrate an exemplary process 700A and an exemplary table700B that a host may use to identify the advanced route having the“lowest” travel time and/or the travel distance. Referring specificallyto FIG. 7A, the process 700A illustrates in more detail the blocks 160and 170 associated with the process 100 described above with respect toFIG. 1. The process 700A begins by the host rearranging, within each setof locations identified in table 500A (e.g., the closest choices column520 and the next closest choices columns 530 and 540), the order oflocations to identify alternative routes traveling through thoselocations (710). The host calculates, within each set of locationsidentified in table 500A, a travel time and/or a travel distance foreach identified alternative routes (720), and identifies, within eachset of locations, a most efficient route having the minimum travel timeand/or travel distance among the alternative routes (730). The host mayuse the operation described above with respect to FIG. 6A to identifythe most efficient route within each set of locations identified intable 500A. The host compares the travel time and/or the travel distanceassociated with the most efficient routes identified to each other(740). To perform this comparison, the host may use the exemplary table700B that includes the travel time and the travel distance for the mostefficient route within each set of locations. Table 700B includes atravel time row 740 and a distance row 750. The travel time row 740identifies the travel time for the most efficient route within each setof locations. For example, the travel time for the most efficient routewithin the first set of locations is 44 minutes, within the second setof locations is 43 minutes, and within the third set of locations is 55minutes.

The distance row 750 identifies the travel distance for the mostefficient route within each set of locations. For example, the traveldistance for the most efficient route within the first set of locationsis 24.8 miles, within the second set of locations is 25 miles, andwithin the third set of locations is 30 miles. The host may use table700B to identify and select the most efficient route with the “lowest”travel commitment, as the advanced route (750).

In one scenario, shown in FIG. 7B, one of the routes may have theshortest travel time and another route may have the shortest traveldistance. For example, the most efficient route within the first set hasthe shortest travel distance and the most efficient route within thesecond set has the shortest travel time. In this scenario, the host maybe configured to use the route with the shortest travel time as theadvanced route. Alternatively, the host may be configured to use theroute with the shortest travel distance as the advanced route.

FIG. 8A illustrates an exemplary process 800A the host uses to enablethe user to identify an advanced route based on the user-selectedlocations for the multiple points of interest. Initially, the hostpresents to the user a set of locations corresponding to each of themultiple points of interest (810). In one implementation and referringagain to FIG. 5A, the host may present to the user table 500A as a UI,enabling the user to select, from the set of locations, a locationcorresponding to each of the multiple points of interest (820). The usermay select a location for each of the multiple points of interest by“clicking on,” for example, the locations appearing in the closestchoices column 520, the next closest choices column 530, and/or the nextclosest choices column 540. For example, the user may select a locationfor a gas station from the closest choices column 520 by selecting the“1210 Seven Lock Rd. Potomac, Md.” icon. And, the user may select alocation for the restaurant from the next closest choices column 530 byselecting the “555 Tuckerman Lane, Potomac, Md.” icon. Similarly, theuser may select a location for the grocery store from the closestchoices column 520 by selecting “1213 Seven Lock Rd, Potomac, Md.” icon.In response, the host identifies an advanced route based on theuser-selected locations (830). The host may optionally present theadvanced route to the user (840). The host also may present to the useralternatives to the user's selected route, enabling the user to comparethe travel commitment of the selected route with the travel commitmentof the other routes and to make an informed decision about which routethe user wishes to travel. The alternatives may include substitutedpoints of interest and/or it may rearrange an order of travel amongpoints of interest.

Alternatively and prior to presenting the user-identified advanced routeto the user (840), the host may perform a preliminary analysis on theuser-identified advanced route. For example, the host may give theuser-identified advanced route more weight than other alternative routespresented in the UI 500A, and the host may select the user-identifiedadvanced route if its travel commitment is less than a threshold value.FIG. 8B illustrates an exemplary process 800B that a host uses forapplying more weight to the user-identified advanced route and selectingthe user-identified advanced route if its travel commitment is less thana threshold value. Initially, the host calculates a travel commitmentfor the advanced route (850). The host reduces the travel commitment bya certain value to identify a new travel commitment for the advancedroute (860). The host determines whether the new travel commitment isless than the threshold value (870). If so, then the host presents theadvanced route to the user (880). Otherwise, the host determines whetherone of the alternative routes presented in the UI 500A has a travelcommitment less than the travel commitment of the user-identifiedadvanced route (890). If so, then the host presents the alternativeroute to the user (892). If not, then the host presents theuser-selected route to the user (894).

FIG. 9A illustrates an exemplary UI 900A that displays multiple routesresponsive to a search query, and that enables the user to select fromamong the displayed multiple routes.

The UI 900A represents a message that may be presented to the user whois traveling from “1425 K St. NW, Washington, D.C. 20005” toward the“United States Patent and Trademark Office” (“USPTO”), and who seeks aroute that enables the user to stop by “a gas station” and “a grocerystore.”

As shown in FIG. 9A and described above, the UI 900A notes the originlocation, the destination location, and the multiple points of interestthe user has previously specified via, for example, the UI 200A. The UI900A communicates to the user multiple routes that are responsive to thesearch query. The multiple routes may include, for example, a Route Aand a Route B. Route A has total travel time of 45 minutes and begins atthe origin location and travels first through the grocery store locationand then the gas station location before reaching the destination of theUSPTO.

In contrast to Route A, Route B has total travel time of 60 minutes andbegins at the origin location and travels first through the gas stationlocation and then the grocery store location before reaching thedestination of the USPTO. As shown, the locations associated with thegas station and the grocery store appearing in Route B are differentfrom the locations associated with the gas station and the grocery storeappearing in Route A. The user may select either Route A or Route B byselecting the box corresponding to Route A or Route B. Upon choosingRoute A or Route B, the host may provide point-to-point directions/mapsto the user for Route A or Route B, accordingly. In a differentimplementation, the user selects both Route A and Route B to, forexample, view a more detailed map associated with each before selectingeither Route A or Route B. In such a scenario, the host generatesanother UI, such as, for example, the UI 900B illustrated by FIG. 9B tographically illustrate the two competing routes to the user. The UI 900Bincludes a graphical representation of Route A and Route B. As shown,Route A passes through different locations associated with the gasstation and the grocery store than Route B and appears to have lesstravel time and/or travel distance associated with it. Upon viewing thegraphical representation of the two competing routes, the user may beable to easily make a decision regarding which route to take and uponmaking such determination, the user may return to UI 900 to make theuser's selection.

In a slightly different scenario, the UI 900B may be configured to beinteractive and the user may select the desired route by clicking on thegraphical representation of Route A or Route B. Similarly and referringagain to FIG. 9A, the UI 900A also may be configured to be interactive.For example, the UI 900A may enable the user to change the originlocation, the destination location, and the multiple points of interestpreviously specified by the user. The user may select the addressassociated with those locations to change and/or modify them. Similarly,if the user wishes to visit a point of interest at a specific location,the user may modify the host-suggested location for the point ofinterest by changing the address for that point of interest.

In another implementation, unlike the process 100 shown in FIG. 1, thehost identifies an advanced route traveling through each of theidentified points of interest without identifying a preliminary route(130) and without identifying a perimeter around the preliminary route(140). Instead, the host identifies a perimeter around the originlocation and the destination location. In particular, after receivingthe origin location and the destination location from the client device,the host identifies a perimeter that surrounds the origin location andthe destination location, and within the perimeter, the host identifiesa set of locations associated with each of the points of interests. Forexample, as shown in FIG. 11 and further described below, in oneimplementation, the host identifies a perimeter having an ellipticalshape surrounding the origin location and the destination location andidentifies, within the elliptical perimeter, a set of locations for eachof the points of interest. A point of interest may refer to anestablishment that includes multiple locations associated therewith. Forexample, the point of interest may refer to any gas station and/or abrand gas station at different locations.

One example will be described to illustrate how the host may identify anadvanced route traveling through a location associated each of themultiple points of interest without necessarily computing a preliminaryroute and forming the elliptical perimeter around the preliminary route.In this example, the user seeks to visit multiple points of interest ona route between an origin location and a destination location. Themultiple points of interest include a gas station and a grocery store.The host identifies an elliptical perimeter around the origin locationand the destination location, and within the elliptical perimeter, thehost identifies a set of locations for the gas station and a set oflocations for the grocery store. Before identifying the advanced route,the host identifies a preliminary route as a starting solution. Thepreliminary route begins at the origin location and is configured topass through the first location appearing in each set before reachingthe destination location. The host determines a travel commitment (e.g.,travel time and/or a travel distance) for the preliminary route. Then,the host identifies another route by altering the order in which thepreviously selected locations for each of the multiple points ofinterest are visited. Additionally or alternatively, the host identifiesanother route by choosing from each set a different location for some orall of the multiple points of interest. The host determines the travelcommitment for the new route and compares the travel commitment of thenew route to the travel commitment of the preliminary route. Ifimprovement in the travel commitment has occurred (e.g., the travel timeand/or the travel distance is further minimized), the host uses the newroute as the preferred route. If the improvement in the travelcommitment has not occurred (e.g., the travel time and/or the traveldistance is not further minimized), the host uses the preliminary routeas the preferred route.

The host continues these operations for a specified number of timesuntil all locations within each set have been considered, a timelimitation has been reached, or a relative improvement is marginal.Using the time limitation may enable the host to identify an advancedroute in a timely manner.

An exemplary process 1000 illustrated by FIG. 10, may be used by thehost to identify an advanced route based on the above-described example.Below, process 1000 is described with brief reference to other processesillustrated by figures, each of which is later described separately.Process 1000 begins with receiving a query that includes an originlocation, a destination location, and at least a first point of interestand a second point of interest (1010). The first and/or second points ofinterest may refer to an establishment that includes at least multiplelocations associated therewith. In keeping with the above-describedexample, the first point of interest includes a gas station and thesecond point of interest includes a grocery store for purposes of thisdescription. The host receives the query via, for example, a requestand/or message from the client device through UI 200 shown in FIG. 2A.

In response to receiving the query, the host identifies a perimeter thatsurrounds the received origin and destination locations (1020). As shownin FIG. 11, the perimeter may include an elliptical perimeter 1110surrounding the origin and destination locations. In anotherimplementation, the perimeter may include other patterns such as, forexample, square, rectangular, circular, and/or non-geometric patterns.The host may use an exemplary process 1200 described with respect toFIG. 12 to identify the elliptical perimeter 1110.

The host identifies, within the perimeter, a first set of potentiallocations that corresponds to the received first point of interest, thefirst set of potential locations representing a subset of all potentiallocations corresponding to the first point of interest (1030). The hostalso identifies, within the perimeter, a second set of potentiallocations that corresponds to the received second point of interest, thesecond set of potential locations representing a subset of all potentiallocations corresponding to the second point of interest (1040). The hostselects, from the first and the second sets of potential locations, asingle potential location corresponding to the received first point ofinterest and a single potential location corresponding to the receivedsecond point of interest (1050). In keeping with the above describedexample, the host selects, from each set, a location for the gas stationand the grocery store, using an exemplary process 1300 described withrespect to FIG. 13. The host then displays, as an advanced route, aroute from the origin location to the destination location that travelsthrough the selected single potential location corresponding to thereceived first point of interest and the selected single potentiallocation corresponding to the received second point of interest (1060).Again, keeping with the above-described example, the process 1000resolves an advanced route that includes a location for the gas stationand the grocery store.

A search area 1100, such as that illustrated by FIG. 11, includes anexemplary perimeter that the host may use to search for the potentiallocations for each of the received first and second points of interest.The search area 1100 includes an origin location, a destinationlocation, and an elliptical perimeter 1110. The elliptical perimeter1110 includes a major-axis and a minor-axis, and is rotated with respectto the longitudinal axis by a rotation angle θ. The rotation angle θ maybe found by a vector in latitude and longitude space from originlocation to the destination location.

θ=tan⁻¹(dlat/dlng)   (Equation 1)

The host may use an exemplary process 1200, such as that illustrated byFIG. 12, to identify the elliptical perimeter 1110. The exemplaryprocess 1200 connects the origin location and the destination locationvia a straight line and identifying the length “L” of the straight line(1210). The host then multiplies the length “L” by a factor “N” toidentify the length of the elliptical perimeter's 1110 major-axis(1220).

L _(major-axis) =L*N   (Equation 2)

Where “N” includes a value greater than one to extend the ellipse beyondthe origin and destination locations. In one implementation, “N” has avalue 1.5. The host then equally extends each side of the straight lineto form the major-axis, as shown in FIG. 11. In another implementation,to form the major-axis, the host extends each side of the straight lineby a factor N (or by factors N₁ and N₂ that differ). In thisimplementation, the length of the elliptical perimeter's 1110 major-axismay be defined by equation 3.

L _(major-axis) =L+2N   (Equation 3)

In either case, the host multiplies the length of the major-axis by afactor “I” to identify the length of the elliptical perimeter'sminor-axis (1230).

L _(Minor-axis) =L _(Major-axis) *I   (Equation 4)

Where “I” includes a value less than one to scale the major-axis'slength. In one implementation, “I” has a value 0.5. The host thenidentifies the middle point of the major-axis and draws a straight lineperpendicular to the major-axis through the middle point to identify theminor-axis having the length L_(minor-axis) (1240), as shown in FIG. 11.

In one implementation, the host may check to see whether all theidentified points of interest include at least one location within theelliptical perimeter 1110. If not, the host may expand the ellipticalperimeter by increasing the length of the major-axis and/or minor-axis.

To keep with the above described example, the host may continue thisoperation until the host identifies, within the elliptical perimeter1110, at least one location for the gas station and one location for thegrocery store.

An exemplary process 1300, such as that illustrated by FIG. 13, includesselecting a single location for each of the received first and secondpoints of interest. Process 1300 begins with identifying a preliminaryroute as a starting solution that includes one location for the firstpoint of interest and one location for the second point of interest(1310). The host chooses the first location appearing in each set ofpotential locations to identify the preliminary route. Once the host hasidentified the starting solution, the host calculates a travelcommitment (e.g., a travel time and/or travel distance) associated withthe preliminary route, and the host stores the preliminary route as thepreferred route (1320). Then, the host identifies another route byaltering the order in which the previously selected locations for eachof the multiple points of interest are visited (1330). Additionally oralternatively, the host identifies another route by choosing from eachset a different location for the first and/or second points of interest(1330). To determine the alternative routes, in one implementation, thehost uses a pseudo-random process to change the order in which thelocations associated with the first and second points of interest arevisited and/or to randomly select a new location from each set ofpotential locations. The host calculates the travel commitment (e.g.,travel time and/or travel distance) for the new route traveling throughthe rearranged locations and/or the newly identified locations (1340).The host compares the travel commitment of the new route to the travelcommitment of the preferred route (1350). If improvement has occurred(e.g., the travel commitment is further minimized), the host stores thenew route as the preferred route (1370), and the host moves on to checkwhether a time limitation has been reached (1380). If improvement hasnot occurred (1360, no), the host moves on to check whether a timelimitation has been reached (1380). If so (1380, yes), the host displaysthe preferred route to the user as the advanced route.

Depending on the number of potential locations within each set, aprocess of selecting a single location from each set may becomputationally demanding and may require lengthy computation time. Assuch, the use of the timer in operation block (1360) allows the user toidentify an optimal route and/or a route close to being optimal within areasonable time frame. The timer may begin to expire from the time theprocess starts and the user may set the length of expiration period. Inthis manner, an optimal route may be identified and presented to theuser in a reasonable time.

If the time limitation has not been reach (1380, no), the host moves onto the next operational block to determine whether the travel commitmentof the preferred route is less than a threshold (1390). The user and/orthe host may set a threshold to identify routes with an acceptabletravel commitment. In particular, if the preferred route has a travelcommitment below the threshold amount (1390, yes), then the host stopssearching for alternative routes and presents the preferred route to theuser (1395). If the preferred route has a travel commitment exceedingthe set threshold (1390, no), the host continues alternating thepreferred route by rearranging the order in which the identifiedlocations are visited and/or selecting a new location from the first orsecond set of potential locations (1330). The host continues theseoperations (e.g., 1330 to 1390) until a time limitation has been reachedor until the host identifies a preferred route with an acceptable travelcommitment.

In another implementation, the process 1300 may be modified to check fora relative improvement between consecutive alternative routes. Forexample, the host checks to determine whether relative improvement ofthe travel commitment between the last ten iterations is marginal. Ifso, the host stops the process 1300 and displays to the user thepreferred route. To do so, the host stores in a table the travelcommitment associated with each newly identified preferred route, andthe host references the table after the host has identified a certainnumber of preferred routes (e.g., ten). The host then compares thetravel commitment associated with the last identified preferred routewith the travel commitment associated with the previously identifiedpreferred route. If the improvement in the travel commitment ismarginal, the host stops the process 1300 and displays the lastidentified preferred route to the user. Otherwise, the host continuesthe process 1300.

FIG. 14 illustrates a communication system 1400 is capable of deliveringand exchanging data between a client device 1410 and a host 1430 througha delivery network 1420. The communication system 1400 enables the host1430 to solicit or otherwise receive from the client device 1410 asearch query and to generate a response to the search query.

Each of the client device 1410 and the host 1430 may be implemented by,for example, a general-purpose computer capable of responding to andexecuting instructions in a defined manner, a personal computer, aspecial-purpose computer, a workstation, a server, a device, acomponent, other equipment or some combination thereof capable ofresponding to and executing instructions. The client device 1410 may beconfigured to receive instructions from, for example, a softwareapplication, a program, a piece of code, a device, a computer, acomputer system, or a combination thereof, which independently orcollectively direct operations, as described herein. The instructionsmay be embodied permanently or temporarily in any type of machine,component, equipment, storage medium, or propagated signal that iscapable of being delivered to the client device 1410 or the host 1430.

The client device 1410 may include one or more devices capable ofaccessing content on the host 1430. The client device 1410 may include ageneral-purpose computer (e.g., a personal computer (“PC”)) capable ofresponding to and executing instructions in a defined manner, aworkstation, a notebook computer, a Personal Digital Assistant (“PDA”),a wireless phone, a component, other equipment, or some combination ofthese items that is capable of responding to and executing instructions.

In one implementation, the client device 1410 includes one or moreinformation retrieval software applications (e.g., a browser, a mailapplication, an instant messaging client, an Internet service providerclient, a media player, a mobile location based services client, amobile mapping and/or navigation client, or AOL video or otherintegrated client) capable of receiving one or more data units. Theinformation retrieval applications run on a general-purpose operatingsystem and a hardware platform that includes a general-purpose processorand specialized hardware for graphics, communications and/or othercapabilities. In another implementation, the client device 1410 includesa wireless telephone running a micro-browser application on a reducedoperating system with general purpose and specialized hardware capableof operating in mobile environments.

In this implementation, the client device 1410 is configured to generatea search query that includes an origin location, a destination location,and an indication of multiple points of interest the user wishes tovisit between the origin location and the destination location. Theclient device 1410 also is configured to display a result responsive tothe search query. For example, the client device 1410 may be configuredto display an advanced route between the origin location and thedestination location that includes and thus encourages travel through alocation of each of the user-specified multiple points of interest.

The client device 1410 also may display a map and information regardingtravel time and/or travel distance for the advanced route.

The network 1420 includes hardware and/or software capable of enablingdirect or indirect communications between the client device 1410 and thehost 1430. As such, the network 1420 includes a direct link between theclient device 1110 and the host 1130, or it includes one or morenetworks or subnetworks between them (not shown). Each network orsubnetwork includes, for example, a wired or wireless data pathwaycapable of carrying and receiving data. Examples of the delivery networkinclude the Internet, the World Wide Web, a WAN (“Wide Area Network”), aLAN (“Local Area Network”), analog or digital wired and wirelesstelephone networks, radio, television, cable, satellite, and/or anyother delivery mechanism for carrying data.

The host 1430 includes a general-purpose computer having a centralprocessor unit (CPU), and memory/storage devices that store data andvarious programs such as an operating system and one or more applicationprograms. Other examples of the host 1430 include a workstation, aserver, a special purpose device or component, a broadcast system, otherequipment, or some combination thereof capable of responding to andexecuting instructions in a defined manner.

The host 1430 includes a host operated by an Online Service Providerthat provides mapping services to subscribers. Alternatively oradditionally, the host 1430 includes a search provider and/or a mobiledevice, such as a cellular phone or an in-vehicle navigation system. Thehost 1430 is configured to receive a search query, including an originlocation, a destination location, and an indication of multiple pointsof interest. In response, the host 1430 identifies a result that isresponsive to the search query. To identify the result, the host 1430may first identify a perimeter around the origin location and thedestination location. The perimeter may include an elliptical shape. Thehost 1430 uses the perimeter to identify, within the perimeter, a set oflocations corresponding to each of the multiple points of interest. Thehost 1430 selects, from the set of locations identified, a locationcorresponding to each of the multiple points of interest for which theset of locations was identified. The host 1430 identifies an advancedroute between the origin location and the destination location thatincludes and thus encourages travel through a location for each of themultiple points of interest.

The host 1430 may be configured to provide mapping services to the userof the client device 1410. In one example, the host 1430 is configuredto generate maps and information regarding travel time, and/or traveldistance for the advanced route. The host 1430 may be configured toenable selection of different types of directions. For example, the host1430 may be configured to enable turn-by-turn voice guided navigation,mapping directions, text directions, and/or “other” types of directions,such as walking directions or public transportation directions. The host1430 may be configured to send this information to the user of theclient device 1410 via an instant messenger service, an email, ordirectly to a client mobile/navigation application.

In one implementation, the client device 1410 alone may perform thefunctions described above. For example, the client device 1410 mayperform the functions described above by referencing an internal searchengine. In another implementation, the host 1430 alone may perform thefunctions described above. In yet another implementation, the clientdevice 1410 and the host 1430 both may perform some or all of thefunctions described above.

Other implementations are also contemplated. For example, the host mayidentify multiple alternative routes responsive to the search query, andthe host may use a different presentation style to present the multiplealternative routes to the user for consideration. For example, themultiple alternative routes may be presented to the user with each ofthe multiple points of interest color-coded to indicate the category ofthe point of interest. The alternative routes may be presented insequence or on a single map so that the user may compare the routes andselect the preferred route. In another example, the keywords or terms(e.g., the origin location, the destination location and the first andsecond points of interest) forming the query may each be received, atthe host, from a different source.

In another example, the host searches, within a perimeter surroundingthe origin location and the destination location, to identify multiplepoints of interest that are co-located. In particular and in keepingwith the above-described example, where the user is searching for a gasstation and a grocery store, the host uses a perimeter, such as theelliptical perimeter 1110 illustrated by FIG. 11, to identify a locationfor a gas station that is located near a location for a grocery store.To this end, the host identifies, within the elliptical perimeter 1110,all locations associated with the gas station and searches for alocation for a grocery store within the vicinity of each of thoselocations. In this manner, the host identifies a set of co-located gasstations and grocery stores. The host then identities routes travelingthrough each of the identified co-located gas station and grocery storeand determines the travel commitment (e.g., travel time or a traveldistance) associated with each route. The host then compares the travelcommitment of each route to identify an advance route having the minimumtravel commitment and presents that to the user. Additionally, the hostmay compare the travel commitment associated with the advanced routewith the travel commitment associated with an advanced route identifiedvia, for example, processes 100 and 1000 illustrated by FIGS. 1 and 10,respectively, to determine the one including the least travel commitmentand to present that to the user.

In another implementation, the user may not have a particulardestination in mind and may wish to visit multiple points of interest.Thus, the user may generate a search query via, for example, a UIsimilar to the UI 200A in FIG. 2A that includes an origin location and alabel for each of the multiple points of interest. In response, the hostmay identify at least one location for each of the multiple points ofinterest, and the host may identify an advanced route from the originlocation through the location for each of the multiple points ofinterest.

In another implementation, the user may specify the order in which themultiple points of interest should be visited. In this scenario, thehost identifies one or more locations for each of the multiple points ofinterest. The host identifies a preliminary route that travels through alocation for each of the multiple points of interest in theuser-specified order. The host determines the travel commitment for thepreliminary route. The host may alter some or all of the locations forthe multiple points of interest to identify a new route. The hostdetermines the travel commitment for the new route and compares it tothe travel commitment of the preliminary route. If there is animprovement, the host may use the new route as the advanced route. Thehost may continue this process until the relative improvement in eachiteration is marginal. Alternatively, the host may continue this processuntil a time threshold for a route has been reached or a time limitationfor computing a route has been reached.

In another implementation, the host may communicate with a calendarapplication or other applications used to help plan a user's day. Forexample, the user may have an appointment in the user's calendar to beat a particular location at a predetermined time (e.g., pick up a childat school at 4:00 pm), and the user may request a route that enables theuser to stop at an ATM, a grocery store, and a gas station. The user mayhave previously specified this information in the calendar applicationand may communicate this information to the host via, for example,“clicking on” an export icon in the calendar application. Upon “clickingon” the export icon, a search query may be generated that includes thecurrent location of the user, the destination location, and the multiplepoints of interest the user wants to visit along the way. The hostidentifies and presents to the user one or more routes responsive to thesearch query.

In one implementation, when a user selects to receive a route thatpasses through at least two points of interest, the concepts describedherein consider whether several of the selected points of interestshould be accommodated by a single diversion from a preliminary routeotherwise extending between a selected origin and destination. By doingso, rather than simplistically selecting a first point of interestlocation and a second point of interest location that are the closest tothe preliminary route, the described processes may determine to selectone or more other point of interest locations if travel to them fromanother point of interest location is shorter than the distance betweenthe preliminary route to the closest relevant point of interestlocation.

By way of example, assume that a user desires directions from Washingtonto Richmond and that the user also wants recommendations for where theuser should stop for gas and pizza along the way. In one implementation,the user is allowed do the following serial computation: (1) identify apreliminary route between Washington and Richmond; (2) identify gasstations as a first points of interest, (3) identify all gas stationsalong the preliminary route, and (4) pick the gas station with theshortest travel distance from the preliminary route; (5) identify pizzaplaces as the second point of interest; (6) identify all pizza placesalong the preliminary route, and (7) pick the pizza place with theshortest travel distance from the preliminary route; and finally, (8)display a route based on the preliminary route with stops at the gasstation and pizza place independently determined closest thereto.

In another implementation, the concepts describes herein allow the userto evaluate combinations of selected points of interest, to account fordifferent points of interest locations that may be close to each other.For example, along the way from Washington to Richmond, a gas stationand a pizza place may be co-located at a particular exit, separated fromeach other by a short distance. In this scenario, the user does not haveto separately travel from the route to each of the gas station and thepizza place. They instead may travel from the preliminary route to thegas station and from the gas station to the pizza place beforeultimately returning to the preliminary route. Consequently, and inconsideration of this scenario (and user behavior), the proposed processis able to identify the co-located pizza place as a more efficientselection than even a pizza place that itself is closer to thepreliminary route. In fact, the proposed process is able to identify thecombination of co-located gas station and pizza place as more efficient,even if neither is closest to the preliminary route among theirrespective peer point of interest locations. To provide a more granularexample, assume that the route from Washington to

Richmond has a closest gas station at 1 mile from the route, and aclosest pizza place at 2 miles from the route. A route that accounts forstops at those points of interest would add a collective 6 milediversion, as a round-trip from each is needed. This would be inferiorto a 5 mile diversion at, e.g., an exit that has a gas station that islocated 2 miles from the route and a pizza place that is 2.5 miles fromthe route, but 0.5 miles away from the gas station.

Notably, the user may benefit from having to divert once, and therefore,may prefer co-located points of interest, even if they do not actuallyreduce the diversion distance or travel time.

One example will be described to illustrate how the host may comparesets of locations associated with certain categories of points ofinterest selected by the user. In this example, the user seeks to visitmultiple points of interest on a route between an origin location and adestination location. The multiple points of interest include a gasstation and a grocery store. The host identifies a preliminary route,which begins at the origin location and continues to the destinationlocation. The host then identifies an elliptical perimeter around theorigin location and the destination location, and within the ellipticalperimeter, the host identifies a set of locations for the gas stationand a set of locations for the grocery store.

Along these lines, the host selects a location that has a relativelyshort travel commitment to the preliminary route from among the set oflocations of gas stations. Additionally, the host selects two locations(e.g., a second location and a third location), from among the set oflocations for the grocery store. In one example, the second locationsimilar to the first location has a relatively short travel commitmentfrom the preliminary route whereas a third location has a relativelyshort travel commitment from the first location.

If the travel commitment from the first to the third location is lessthan the travel commitment from the second to the preliminary route, thehost would rank the combination of the first and third locations higherthan the combination of the first and second. Using the example, thehost would first select a grocery store with a relatively short travelcommitment from the preliminary route. Next the host would select twogas stations, one with a relatively short travel commitment to thegrocery store and one with a relatively short travel commitment to thepreliminary route. The host would then rank the particular combinationof the grocery store and gas station higher that had a lower overalltravel commitment.

FIG. 15A-15B illustrates a process 1500 that a host may use to comparemultiple intervening locations from selected categories of interestsbased upon the travel commitment required to visit a location from eachof the categories of interest based on the above-described example.Process 1500 begins with receiving an indication of a selected originand a selected destination (1505). The host may receive the origin anddestination from a user interface, such as the one illustrated by FIG.2A, in which the user manually inputs the desired address or location.Alternatively, the host may be connected to a GPS receiver and thus maydetermine an origin based upon the current location.

The process 1500 also includes the host receiving a selection ofmultiple points of interest (1510). In keeping with the above-describedexample, the user would select a grocery store and a gas station. Toprovide the host with the point of interest, the user may use a userinterface, such as the one illustrated by FIG. 2A, which provides a userwith various categories of locations. The multiple points of interestthen could be given increasing levels of specification such as a grocerystore that also includes a pharmacy section, for example. Based upon theuser input, the host would increasingly refine the number of locationsthat meet the user requirements.

Based upon the received input, the host determines a preliminary routebetween the selected origin and destination locations (1515). The hostcould use a process such as the one identified earlier as exemplaryprocess 100.

The host then identifies a perimeter surrounding the preliminary route(1520). The host could use an exemplary process 1200 to identify theperimeter. Using such a process, the host may need to expand theelliptical perimeter dependant on how great of specificity the userassigns to the points of interest. For example, an initial ellipticalperimeter may contain more than one grocery store, but no health foodsgrocery stores that contain both a pharmacy and a cafeteria. Thusdependant on what level of specificity the user applies to hisdesignation of grocery store, the host may need to expand the ellipticalperimeter.

The host identifies, within the perimeter, a first set of locations thatcorresponds to the first of the received multiple points of interest,the first set of potential locations representing a subset of allpotential locations corresponding to the first point of interest (1525).Thus the host would create a first subset of grocery stores that fallwithin the perimeter. The host could accomplish this through a processwhich first scans through a directory of all locations to determine alllocations which meet the user-defined requirements. The host then couldcompare the coordinates and locations of each of the locations todetermine which fall within the elliptical perimeter. The host thenwould create a new subset of locations to reference that would representthe first point of interest.

From among this first set of locations corresponding to the first of themultiple points of interest, the host identifies a first location thathas a relatively short travel commitment (e.g., a travel time and/ortravel distance) to the preliminary route (1530). For example, the hostcould determine this by calculating a route from the preliminary routeto each of the locations within the subset of the first point ofinterest. Then for each of the routes, the host could determine thetravel commitment from the location to the preliminary route. Based uponthis computation, the host would select the location from within thesubset of first points of interest with the shortest travel commitment.

The host then identifies, within the perimeter, a second set oflocations corresponding to the second of the received multiple points ofinterest (1535). In the example, the host would create a second subsetof all gas stations within the perimeter. The host could use a similarprocess to the one described in step 1525 to determine a second subsetof locations which correspond to the second point of interest.

From among this second set of locations corresponding to the second ofthe multiple points of interest, the host identifies a second locationthat has a relatively short travel commitment (e.g., a travel timeand/or travel distance) to the preliminary route (1540). The host couldperform this process using a similar method as described in step 1530.The host calculates the travel commitment between the second locationand the preliminary route (1545).

The host then determines whether a third location exists from among thesecond set of locations corresponding to the second of the multiplepoints of interest that such a third location is separated from thefirst location by a travel commitment that is less than the travelcommitment determined between the second location and the preliminaryroute (1550). The host could perform this by calculating the travelcommitment from the first location of the first selected point ofinterest to a member of the subset of second locations for all of thelocations within the subset of second locations. The host would thuslook to see if a gas station exists for which the travel commitmentbetween the grocery store and the gas station is smaller than the travelcommitment between the initial gas station and the preliminary route.

If the third location is determined to be separated from the firstlocation by a travel commitment that is less than the travel commitmentdetermined between the second location and the preliminary route, thehost then ranks the combination of the first and third locations higherthan the first and second locations when generating the route (1555).The host could thus determine based upon the first selected point ofinterest whether a more optimal route would include traveling to thesecond selected point of interest from the first selected point ofinterest, or rather if it would represent a smaller travel commitment toreturn to the preliminary route before continuing on to the secondselected point of interest.

The host may cycle through different combinations of the multiple pointsof interest and rank them accordingly. Using this sorting mechanism, thehost may determine the optimal combination of intervening points ofinterest based upon the lowest total travel commitment. Such a methodcould include an internal default timer or even a user-defined timer soas to return a near-optimal result after a set length of time withoutcycling through all possible combinations of selected points of interestbetween the origin and the destination.

FIG. 16A-16B illustrates a process 1600 that a host may use to comparemultiple intervening locations from selected categories of interestsbased upon the travel commitment required to visit a location from eachof the categories of interest based on the above-described example.Process 1600 begins with receiving an indication of a selected originand a selected destination (1605). The host may receive the origin anddestination from a user interface, such as the one included in FIG. 2A,in which the user manually inputs the desired address or location.Alternatively, the host could be connected to a GPS receiver and thusdetermine an origin based upon the current location.

The host then receives a selection of multiple points of interest(1610). In keeping with the example, the user would select a grocerystore and a gas station. The host could receive the input based upon auser interface, such as the one in FIG. 2A, which provides a user withvarious categories of locations. The multiple points of interest thencould be given increasing levels of specification such as grocery storesthat also include pharmacies or health foods grocery stores. Based uponthe user input, the host would increasingly refine the number oflocations that meet the user requirements.

Based upon the input received, the host determines a preliminary routebetween the selected origin and destination locations (1615). The hostcould use a process such as the one identified earlier as exemplaryprocess 100.

The host then identifies a perimeter surrounding the preliminary route(1620). The host could use an exemplary process 1200 to identify theperimeter. Using such a process, the host may need to expand theelliptical perimeter dependant on how great of specificity the userassigns to the points of interest. For example, an initial ellipticalperimeter may contain more than one grocery store, but no health foodsgrocery stores that contain both a pharmacy and a cafeteria. Thusdependant on what level of specificity the user applies to hisdesignation of grocery store, the host may need to expand the ellipticalperimeter.

The host identifies, within the perimeter, a first location thatcorresponds to the first of the received multiple points of interest anda second location that corresponds to the second of the receivedmultiple points of interest, where the first and second locationsrepresent the locations which collectively yield a shortest aggregatedround-trip travel commitment from the preliminary route to the firstlocation, from the first location to the second location, and back tothe preliminary route (1625). Thus in the example, the host wouldidentify a grocery store and a gas station within the perimeter thatwould provide for the shortest round-trip travel commitment for a driverdeviating from the preliminary route to the grocery store, from thegrocery store to the gas station, and then back to the preliminaryroute. The host could accomplish this by first creating a subset ofgrocery stores that fall within the perimeter. Through such a process,the host scans through a directory of all locations to determine alllocations which meet the user-defined requirements. The host then couldcompare the coordinates and locations of each of the locations todetermine which fall within the elliptical perimeter. The host thenwould create a new subset of locations to reference that would representthe first point of interest. The host could then repeat the processagain for the second user-defined point of interest and create a secondsubset of the second point of interest that falls within the ellipticalperimeter. After creating the subsets of the multiple points ofinterest, the host would then compare the travel commitments from thepreliminary route to the first location, from the first location to thesecond location, and back to the preliminary route for all possiblecombinations of locations between the two subsets. The host would thenreturn the combination of locations that yields the lowest possibletravel commitment and store the value of the shortest aggregatedround-trip travel commitment in memory.

Next, the host would again determine a route based upon the locationsthat were used to compute the shortest aggregated round-trip travel trip(1630). Based upon this route, the host would determine a firstround-trip travel commitment between the preliminary route and a firstlocation corresponding to a first received point of interest that hasthe shortest travel commitment to the preliminary route (1635). The hostcould achieve this by calculating the travel commitments from thepreliminary route to the location for all of the locations within thesubset of first selected points of interest. Using the example, the hostwould scan through all grocery stores which meet the user-definedrequirements within the perimeter to determine which grocery store hasthe lowest travel commitment to the preliminary route.

The host would then determine a second round-trip travel commitmentbetween the preliminary route and a second location corresponding to asecond received point of interest that has the shortest travelcommitment to the preliminary route (1640). The host could again achievethis by calculating the travel commitments from the preliminary route tothe location for all of the locations within the subset of secondselected points of interest. Using the example, the host would scanthrough all gas stations within the perimeter to determine which gasstation has the lowest travel commitment to the preliminary route. Thehost would then compare the shortest aggregated round-trip travelcommitment with the summation of the first and second round-trip travelcommitments (1645). Thus the host would compare the shortest aggregatedround-trip travel obtained in step 1625 with the summation of the travelcommitments to the first and second selected points of interest obtainedin steps 1635 and 1640.

If the shortest aggregated round-trip travel commitment is the lesser,the host would select the route based on the locations that were used tocompute the shortest aggregated round-trip travel commitment (1650). Inthe example, if the host determined that a lesser travel commitment wasrequired for deviating from the route to the grocery store and then tothe gas station before returning to the preliminary route, then the hostwould select this route and return it to the user.

If the summation of the first and second round-trip travel commitmentsis the lesser, however, then the host would select the route based onthe locations used to determine the first and second round-trip travelcommitment (1655). Thus if the host determined that a lesser travelcommitment was required by deviating from the preliminary route togrocery store and then returning to the preliminary route beforecontinuing on to the gas station, the host would select such a route andreturn it to the user.

FIG. 17A provides an exemplary map of a route between and origin and adestination with two intervening points of interest: a pizza parlor anda gas station. Using a process such as exemplary process 100, the hostdraws a preliminary route between a user-defined origin and destination.Then, the host draws an elliptical perimeter around the preliminaryroute using a process such as exemplary process 1200. The host thenscans for pizza parlors and gas stations that fall within the boundarydemarcated by the elliptical perimeter.

FIG. 17B provides an exemplary map of the route that the host would drawto the intervening points of interest similar to that in steps 1530 and1545 of exemplary process 1500 or steps 1635 and 1640 of exemplaryprocess 1600. In these steps, the host would determine two locations forthe two selected points of interest with relatively short travelcommitments to the preliminary route. Then the host would determine thetravel commitment from each of the locations to the preliminary route.Using the example, the host would first determine a pizza parlor with arelatively short travel commitment to the route and a gas station with arelatively short travel commitment to the route and then determine thetravel commitments for both.

FIG. 17C provides an exemplary map of the route that the host would drawto the intervening points of interest similar to that in steps 1550 and1555 of exemplary process 1500 or step 1625 of exemplary process 1600.In these steps, the host would determine two locations for the twoselected points of interest with relatively short aggregated travelcommitments from the preliminary route to the first location, from thefirst location to the second location, and then from the second locationback to the preliminary route. Then the host would determine theaggregated round-trip travel commitment for the two locations. Using theexample, the host would first determine a pizza parlor and a gas stationwith a relatively short aggregated round-trip travel commitment from theroute to the pizza parlor, from the pizza parlor to the gas station, andthen from the gas station back to the route.

Other implementations are also contemplated.

1-19. (canceled)
 20. At least one computer-readable storage mediumstoring instructions that, when executed, preform operations comprising:receiving an indication of a selected origin; receiving an indication ofa selected destination; receiving an indication of multiple points ofinterest; determining a preliminary route between the selected originand destination locations; identifying a set of locations correspondingto a first and second of the multiple points of interest; identifying,from among the set of locations, a first location corresponding to thefirst of the multiple points of interest and a second locationcorresponding to a second of the multiple points of interest, where thefirst location and second location collectively yield a shortestaggregated round-trip travel commitment from the preliminary route tothe first location, from the first location to the second location, andback to the preliminary route; and selecting a route based on thelocations that were used to compute the shortest aggregated round-triptravel commitment.